package com.koron.operation.classes.form.bean.convertor;

import com.koron.operation.classes.form.bean.dto.ClassesFormRowDTO;
import com.koron.operation.classes.form.bean.po.ClassesFormRow;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author jzp
 * @since 2023/5/17
 */
@Mapper(componentModel = "spring")
public interface ClassesFormRowConvertor {
    ClassesFormRow dtoToEntity(ClassesFormRowDTO dto);

    List<ClassesFormRow> dtoListToEntityList(List<ClassesFormRowDTO> dtoList);

}
